Optimal. Leaf size=129 \[ \frac{x}{8 a b \sqrt{a^2+2 a b x^2+b^2 x^4}}-\frac{x}{4 b \left (a+b x^2\right ) \sqrt{a^2+2 a b x^2+b^2 x^4}}+\frac{\left (a+b x^2\right ) \tan ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{a}}\right )}{8 a^{3/2} b^{3/2} \sqrt{a^2+2 a b x^2+b^2 x^4}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0492152, antiderivative size = 129, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 26, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.154, Rules used = {1112, 288, 199, 205} \[ \frac{x}{8 a b \sqrt{a^2+2 a b x^2+b^2 x^4}}-\frac{x}{4 b \left (a+b x^2\right ) \sqrt{a^2+2 a b x^2+b^2 x^4}}+\frac{\left (a+b x^2\right ) \tan ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{a}}\right )}{8 a^{3/2} b^{3/2} \sqrt{a^2+2 a b x^2+b^2 x^4}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1112
Rule 288
Rule 199
Rule 205
Rubi steps
\begin{align*} \int \frac{x^2}{\left (a^2+2 a b x^2+b^2 x^4\right )^{3/2}} \, dx &=\frac{\left (b^2 \left (a b+b^2 x^2\right )\right ) \int \frac{x^2}{\left (a b+b^2 x^2\right )^3} \, dx}{\sqrt{a^2+2 a b x^2+b^2 x^4}}\\ &=-\frac{x}{4 b \left (a+b x^2\right ) \sqrt{a^2+2 a b x^2+b^2 x^4}}+\frac{\left (a b+b^2 x^2\right ) \int \frac{1}{\left (a b+b^2 x^2\right )^2} \, dx}{4 \sqrt{a^2+2 a b x^2+b^2 x^4}}\\ &=\frac{x}{8 a b \sqrt{a^2+2 a b x^2+b^2 x^4}}-\frac{x}{4 b \left (a+b x^2\right ) \sqrt{a^2+2 a b x^2+b^2 x^4}}+\frac{\left (a b+b^2 x^2\right ) \int \frac{1}{a b+b^2 x^2} \, dx}{8 a b \sqrt{a^2+2 a b x^2+b^2 x^4}}\\ &=\frac{x}{8 a b \sqrt{a^2+2 a b x^2+b^2 x^4}}-\frac{x}{4 b \left (a+b x^2\right ) \sqrt{a^2+2 a b x^2+b^2 x^4}}+\frac{\left (a+b x^2\right ) \tan ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{a}}\right )}{8 a^{3/2} b^{3/2} \sqrt{a^2+2 a b x^2+b^2 x^4}}\\ \end{align*}
Mathematica [A] time = 0.028382, size = 81, normalized size = 0.63 \[ \frac{\sqrt{a} \sqrt{b} x \left (b x^2-a\right )+\left (a+b x^2\right )^2 \tan ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{a}}\right )}{8 a^{3/2} b^{3/2} \left (a+b x^2\right ) \sqrt{\left (a+b x^2\right )^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.225, size = 97, normalized size = 0.8 \begin{align*}{\frac{b{x}^{2}+a}{8\,ab} \left ( \arctan \left ({bx{\frac{1}{\sqrt{ab}}}} \right ){x}^{4}{b}^{2}+\sqrt{ab}{x}^{3}b+2\,\arctan \left ({\frac{bx}{\sqrt{ab}}} \right ){x}^{2}ab-\sqrt{ab}xa+{a}^{2}\arctan \left ({bx{\frac{1}{\sqrt{ab}}}} \right ) \right ){\frac{1}{\sqrt{ab}}} \left ( \left ( b{x}^{2}+a \right ) ^{2} \right ) ^{-{\frac{3}{2}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.26358, size = 394, normalized size = 3.05 \begin{align*} \left [\frac{2 \, a b^{2} x^{3} - 2 \, a^{2} b x -{\left (b^{2} x^{4} + 2 \, a b x^{2} + a^{2}\right )} \sqrt{-a b} \log \left (\frac{b x^{2} - 2 \, \sqrt{-a b} x - a}{b x^{2} + a}\right )}{16 \,{\left (a^{2} b^{4} x^{4} + 2 \, a^{3} b^{3} x^{2} + a^{4} b^{2}\right )}}, \frac{a b^{2} x^{3} - a^{2} b x +{\left (b^{2} x^{4} + 2 \, a b x^{2} + a^{2}\right )} \sqrt{a b} \arctan \left (\frac{\sqrt{a b} x}{a}\right )}{8 \,{\left (a^{2} b^{4} x^{4} + 2 \, a^{3} b^{3} x^{2} + a^{4} b^{2}\right )}}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x^{2}}{\left (\left (a + b x^{2}\right )^{2}\right )^{\frac{3}{2}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \mathit{sage}_{0} x \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]